package cn.kgc.tcst004.maoqichao.crowdfundingadminspringboot.service;

import cn.kgc.tcst004.maoqichao.crowdfundingadminspringboot.pojo.Advertise;
import cn.kgc.tcst004.maoqichao.crowdfundingadminspringboot.pojo.Cert;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdvertiseService {
    //按条件查询
    PageInfo<Advertise> queryForKeywordAdvertise(Integer pageNum, Integer pageSize, String keyword);
    //数据列表
    public List<Advertise> getAdvertiseListByIdList(List<Integer> advertiseIdList);
    //删除
    public void batchRemove(List<Integer> advertiseIdList);
    //新增
    public void saveAdvertise(Advertise advertise);
    //修改
    public void updateAdvertise(Advertise advertise);
    //跟据id查询修改
    public Advertise selectByUpdate(Integer id);
}
